home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / TRCKR.PAK / TRACKDOC.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  2KB  |  62 lines

  1. // trackdoc.h : interface of the CTrackerDoc class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14.  
  15. class CTrackerDoc : public CDocument
  16. {
  17. protected: // create from serialization only
  18.     CTrackerDoc();
  19.     DECLARE_DYNCREATE(CTrackerDoc)
  20.  
  21. // Attributes
  22. public:
  23.     CRectTracker m_tracker;
  24.     BOOL m_bAllowInvert;
  25.  
  26. // Operations
  27. public:
  28.  
  29. // Implementation
  30. public:
  31.     virtual ~CTrackerDoc();
  32.     virtual void Serialize(CArchive& ar);   // overridden for document i/o
  33. #ifdef _DEBUG
  34.     virtual void AssertValid() const;
  35.     virtual void Dump(CDumpContext& dc) const;
  36. #endif
  37. protected:
  38.     virtual BOOL    OnNewDocument();
  39.  
  40. // Generated message map functions
  41. protected:
  42.     //{{AFX_MSG(CTrackerDoc)
  43.     afx_msg void OnEditDottedline();
  44.     afx_msg void OnUpdateEditDottedline(CCmdUI* pCmdUI);
  45.     afx_msg void OnEditHatchedborder();
  46.     afx_msg void OnUpdateEditHatchedborder(CCmdUI* pCmdUI);
  47.     afx_msg void OnUpdateEditHatchedinside(CCmdUI* pCmdUI);
  48.     afx_msg void OnEditHatchedinside();
  49.     afx_msg void OnEditResizeinside();
  50.     afx_msg void OnUpdateEditResizeinside(CCmdUI* pCmdUI);
  51.     afx_msg void OnEditResizeoutside();
  52.     afx_msg void OnUpdateEditResizeoutside(CCmdUI* pCmdUI);
  53.     afx_msg void OnEditSolidline();
  54.     afx_msg void OnUpdateEditSolidline(CCmdUI* pCmdUI);
  55.     afx_msg void OnEditAllowInvert();
  56.     afx_msg void OnUpdateEditAllowInvert(CCmdUI* pCmdUI);
  57.     //}}AFX_MSG
  58.     DECLARE_MESSAGE_MAP()
  59. };
  60.  
  61. /////////////////////////////////////////////////////////////////////////////
  62.